<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="imagetoolbar" content="no" />
    <title>${self.title()}</title>
    <meta name="keywords" content="Wyatt Baldwin, Portland, Oregon"/>
    <meta name="description" content="Wyatt Baldwin"/>
    ${h.stylesheet_link_tag('site.css')}
  </head>

  <body>

    <div id="meta-top" class="meta">
      ${self.meta_top()}    
    </div>
    
    <div id="wrapper">
      <div id="masthead">
        ${self.masthead()}
      </div>

      <div id="header">
        ${self.header()}
      </div>

      <div id="nav-wrapper">
        ${self.nav()}
      </div>

      <div id="content-wrapper">
        ${self.body()}
      </div>

      <div id="footer">
        ${self.footer()}
      </div>
    </div>

    <div id="meta-bottom" class="meta">
      ${self.meta_bottom()}    
      <div id="powered-by">
        <a href="http://pylonshq.com/"
           title="Now powered by Pylons"
           >${h.image_tag('powered_by.png', alt='Now powered by Pylons')}</a>
      </div>      
    </div>

  </body>
</html>


<%def name="meta_top()"></%def>
<%def name="title()">Simple CMS</%def>
<%def name="masthead()">
  <h1 id="logo">${h.link_to('Simple CMS', h.url_for('sites'))}</h1>
</%def>
<%def name="header()"></%def>
<%def name="nav()">${h.make_nav_menu(c)}</%def>
<%def name="footer()">&copy; 2007 Wyatt Baldwin</%def>
<%def name="meta_bottom()"></%def>
